.actived{
    color: #27ba9b !important;
    border-bottom: 1px solid #27ba9b !important;
}

#app{
    width: 100%;
    height: 132px !important;
    z-index: 100000;
    background: #FFF;
.nav{
    width: 1240px;
    height: 132px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff !important;
    .logo{
        width: 200px;
        height: 132px;
        background: url(http://erabbit.itheima.net/img/logo.0940ebb5.png) no-repeat center 18px/contain;
    }
    .navpos{
        position: relative;
    }
    ul{
        width: 780px;
        height: 32px;
        display: flex;
        padding-left: 40px;
        position: relative;
        li{
            cursor: pointer;
            list-style: none;
            line-height: 31px;
            margin-right: 40px;
            width: 38px;
            text-align: center;
            position: relative;
            &:nth-last-of-type(1){
                margin-right: 0 !important;
            }
            &:nth-of-type(1){
                span{
                    color: #333 !important;
                    border-bottom:none;
                }
            }
            span{
                cursor:pointer;
                font-size: 16px;
                line-height: 32px;
                height: 32px;
                display: inline-block;
                color: #333 ;
                text-decoration: none;
                &:hover{
                    color: #27ba9b !important;
                    border-bottom: 1px solid #27ba9b !important;
                }
            }
        }
            .mouse{
                width: 1240px;
                height: 132px;
                display: flex;
                flex-wrap: wrap;
                padding: 0 70px;
                align-items: center;
                background: #FFF;
                position: absolute;
                bottom: -150px;
                left: -200px;
                display: flex;
                justify-content: flex-start;
                z-index: 1000;
                box-sizing: border-box;
                // overflow: hidden;
                box-shadow: 0 0 5px #ccc;
                transition: all .2s .1s;
                li{
                    width: 110px;
                    text-align: center;
                    &:hover>p{
                        color: rgb(31, 235, 41);
                    }
                    img{
                        width: 60px;
                        height: 40px;
                    }
                    p{
                        font-size: 14px;
                    }
                }
            }
    }
    .search{
        width: 170px;
        height: 32px;
        position: relative;
        border-bottom: 1px solid #e7e7e7;
        line-height: 32px;
        display: flex;
        align-items: center;
        i{
            padding-top: 5px;
            font-size: 18px;
            margin-left: 5px;
            .icon{
                width: 18px;
                height: 18px;
            }
        }
        input{
            padding-left: 5px;
            width: 140px;
            height: 15px;
            color: #666;
            border: none;
            outline: none;
            font-size: 15px;
        }
    }
    .cart{
        cursor: pointer;
        width: 50px;
        height: 50px;
        position: relative;
        z-index: 600;
        background: url(https://preview.520cc.com/58pic/33/75/06/17e58PICs3fESjK58PICJ7fWq_PIC2018.png!w480_520cc)  no-repeat center 3px/contain;
        .num{
            font-style: normal;
            position: absolute;
            right: 0;
            top: 0;
            padding: 1px 6px;
            line-height: 1;
            background: #e26237;
            color: #fff;
            font-size: 12px;
            border-radius: 10px;
            font-family: Arial;
        }
        .shopcar{
            position: absolute;
            right: 0;
            top:50px;
            width: 400px;
            height: 400px;
            position: absolute;
            background: #fff;
            transition: all linear .5s;
            box-shadow: 2px 2px -2px;
            display: none;
            .list{
                width: 400px;
                height: 400px;
                ul{
                    padding: 0;
                    width: 400px;
                    height: 320px;
                    display: flex;
                    flex-direction: column;
                    overflow-y: auto;
                    li{
                        margin-bottom: 10px;
                        display: flex;
                        align-items: center;
                        width: 100%;
                        height: 100px !important;
                        list-style: none;
                        margin-right: 0;
                        img{
                            width: 80px;
                            height: 80px;
                            margin-left: 8px;
                        }
    
                        .center{
                            margin-left: 10px;
                            p{
                                width: 200px;
                                text-align: left;
                                line-height: 30px;
                                &:nth-of-type(1){
                                    font-size: 16px;
                                }
                                &:nth-of-type(2){
                                    font-size: 12px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                }
                            }
                        }
                        .rigth{
                            p{
                                &:nth-of-type(1){
                                    color: red;
                                    font-size: 18px;
                                }
                                &:nth-of-type(1){
    
                                }
                            }
                        }
                        .cuo{
                            display: none;
                            cursor: pointer;
                            position: absolute;
                            right: 10px;
                        }
                        &:hover .cuo{
                            display: block;
                        }
                    }
                }
                .button{
                    width: 100%;
                    height: 80px;
                    padding-right: 8px;
                    position: absolute;
                    bottom: 0;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    .left{
                        width: 100px;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        p{
                            &:nth-of-type(1){
                                font-size: 16px;
                            }
                            &:nth-of-type(2){
                                font-size: 20px;
                                color: red;
                            }
                        }
                    }
                    button{
                        cursor: pointer;
                        width: 200px;
                        height: 60px;
                        border: 1px solid rgb(169, 169, 169);
                        border-radius: 10px;
                        font-size: 22px;
                        background: rgb(62, 235, 97);
                    }
                }
            }
        }
        &:hover .shopcar{
            // height: 400px;
            display: block;
        }
    }
}
.navss{
    width: 100% !important;
    height: 80px;
    background: #ffffff;
    position: fixed;
    top: 0;
    // left: 340px;
    width: 1240px;
    display: flex;
    justify-content: center;
     animation: bounce-down 0.4s linear ;
    z-index: 1000;

    @keyframes bounce-down {
        0% {
            transform: translateY(-100%);
        }
        100% {
            transform: translateY(0);
        }
    }
.navs{
    height: 80px;
    margin: 0 auto !important;
    display: flex;
    align-items: center;
    background: #ffffff;
    // transition: all linear 1s !important;
    .logo{
        width: 200px;
        height: 80px;
        background: url(http://erabbit.itheima.net/img/logo.0940ebb5.png) no-repeat right 2px;
        background-size: 160px auto;
    }
    ul{
        width: 820px;
        height: 32px;
        display: flex;
        padding-left: 40px;
        li{
            list-style: none;
            line-height: 31px;
            margin-right: 40px;
            width: 38px;
            text-align: center;
            &:nth-last-of-type(1){
                margin-right: 0 !important;
            }
            &:nth-of-type(1){
                span{
                    color: #333 !important;
                    border-bottom:none;
                }
            }
            span{
                font-size: 16px;
                line-height: 32px;
                height: 32px;
                display: inline-block;
                color: #333 ;
                text-decoration: none;
                &:hover{
                    color: #27ba9b !important;
                    border-bottom: 1px solid #27ba9b !important;
                }
            }
        }
            .mouse{
                width: 1240px;
                height: 132px;
                display: flex;
                flex-wrap: wrap;
                padding: 0 70px;
                align-items: center;
                background: #FFF;
                position: absolute;
                bottom: -150px;
                left: -160px;
                display: flex;
                justify-content: flex-start;
                box-sizing: border-box;
                box-shadow: 0 0 5px #ccc;
                transition: all .2s .1s;
                li{
                    width: 110px;
                    text-align: center;
                    img{
                        width: 60px;
                        height: 40px;
                    }
                    p{
                        font-size: 14px;
                    }
                }
            }
    }
    .right{
        width: 220px;
        height: 16px;
        display: flex;
        text-align: center;
        padding-left: 40px;
        border-left: 2px solid #27ba9b;
        span{
            font-size: 16px;
            line-height: 16px;
            height: 32px;
            display: inline-block;
            color: #333 ;
            text-decoration: none;
            &:nth-of-type(1){
                margin-right: 40px;
            }
            &:hover{
                color: #27ba9b !important;
            }
        }
    }
}
}
}
